package com.lzdongrui.common.core.domain.entity;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lzdongrui.common.annotation.Excel;
import com.lzdongrui.common.core.domain.BaseEntity;

/**
 * 请假流程设置对象 leave_set
 *
 * @author hjs
 * @date 2023-05-18
 */
public class LeaveSet extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 学校部门id
     */
    @Excel(name = "学校部门id")
    private Long departmentId;

    /**
     * 可审核天数
     */
    @Excel(name = "可审核天数")
    private Integer number;

    /**
     * 部门级别
     */
    @Excel(name = "部门级别")
    private Integer level;

    /**
     * 学院id
     */
    private Long collegeId;

    /**
     * 操作人
     */
    private Long operator;

    /**
     * 上级部门
     */
    private Long parentId;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() {
        return departmentId;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getNumber() {
        return number;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getLevel() {
        return level;
    }

    public void setOperator(Long operator) {
        this.operator = operator;
    }

    public Long getOperator() {
        return operator;
    }

    public Long getCollegeId() {
        return collegeId;
    }

    public void setCollegeId(Long collegeId) {
        this.collegeId = collegeId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("departmentId", getDepartmentId())
                .append("number", getNumber())
                .append("level", getLevel())
                .append("operator", getOperator())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("collegeId", getCollegeId())
                .append("parentId", getParentId())
                .toString();
    }


}
